package com.mike.blog.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @author xiaozefeng
 * @date 2018-12-20 17:20
 */
@Controller
@RequestMapping("/")
public class IndexController {

    @GetMapping
    @ResponseBody
    public String index(){
        return "ok";
    }
}
